/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.order.entity;

import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 订单管理Entity
 * @author clf
 * @version 2018-10-18
 */
public class AnnyOrder extends DataEntity<AnnyOrder> {
	
	private static final long serialVersionUID = 1L;
	private String recAddId;		// 对应收获地址ID
	private String payFlag;		// 是否付款
	private String payType;		// 付款方式
	private String postType;		// 配送方式
	private String comments;		// 留言
	private String totalPrice;		// 总价
	private String orderStatus;		// 订单状态
	private String trackingNum;		// 物流编号
	private String trackingCompany;		// 物流公司
	private String shopId;		// 店铺ID
	private String integral;		// 积分
	private String waitIntegral;		// 待激励积分
	private String evaluateFlag;		// 是否评价
	private String evaluateId;		// 评价ID
	private String returnFlag;		// 退货标识
	private String returnTrackingNum;		// 退货物流编号
	private String returnTrackingCompany;		// 退货物流公司
	private String receiptFlag;		// 收货标识
	private String exchangeFlag;		// 是否积分兑换标识
	private String vdef1;		// 预留字段1
	private String vdef2;		// 预留字段2
	private String vdef3;		// 预留字段3
	private String vdef4;		// 预留字段4
	private String vdef5;		// 预留字段5
	private String vdef6;		// 预留字段6
	private String vdef7;		// 预留字段7
	private String vdef8;		// 预留字段8
	private String vdef9;		// 预留字段9
	private String vdef10;		// 预留字段10
	private List<AnnyOrderGoods> annyOrderGoodsList = Lists.newArrayList();		// 子表列表
	
	public AnnyOrder() {
		super();
	}

	public AnnyOrder(String id){
		super(id);
	}

	@ExcelField(title="对应收获地址ID", align=2, sort=1)
	public String getRecAddId() {
		return recAddId;
	}

	public void setRecAddId(String recAddId) {
		this.recAddId = recAddId;
	}
	
	@ExcelField(title="是否付款", dictType="", align=2, sort=2)
	public String getPayFlag() {
		return payFlag;
	}

	public void setPayFlag(String payFlag) {
		this.payFlag = payFlag;
	}
	
	@ExcelField(title="付款方式", dictType="", align=2, sort=3)
	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}
	
	@ExcelField(title="配送方式", dictType="", align=2, sort=4)
	public String getPostType() {
		return postType;
	}

	public void setPostType(String postType) {
		this.postType = postType;
	}
	
	@ExcelField(title="留言", align=2, sort=5)
	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}
	
	@ExcelField(title="总价", align=2, sort=6)
	public String getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(String totalPrice) {
		this.totalPrice = totalPrice;
	}
	
	@ExcelField(title="订单状态", dictType="", align=2, sort=7)
	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}
	
	@ExcelField(title="物流编号", align=2, sort=8)
	public String getTrackingNum() {
		return trackingNum;
	}

	public void setTrackingNum(String trackingNum) {
		this.trackingNum = trackingNum;
	}
	
	@ExcelField(title="物流公司", dictType="", align=2, sort=9)
	public String getTrackingCompany() {
		return trackingCompany;
	}

	public void setTrackingCompany(String trackingCompany) {
		this.trackingCompany = trackingCompany;
	}
	
	@ExcelField(title="店铺ID", align=2, sort=10)
	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	
	@ExcelField(title="积分", align=2, sort=11)
	public String getIntegral() {
		return integral;
	}

	public void setIntegral(String integral) {
		this.integral = integral;
	}
	
	@ExcelField(title="待激励积分", align=2, sort=12)
	public String getWaitIntegral() {
		return waitIntegral;
	}

	public void setWaitIntegral(String waitIntegral) {
		this.waitIntegral = waitIntegral;
	}
	
	@ExcelField(title="是否评价", dictType="", align=2, sort=13)
	public String getEvaluateFlag() {
		return evaluateFlag;
	}

	public void setEvaluateFlag(String evaluateFlag) {
		this.evaluateFlag = evaluateFlag;
	}
	
	@ExcelField(title="评价ID", align=2, sort=14)
	public String getEvaluateId() {
		return evaluateId;
	}

	public void setEvaluateId(String evaluateId) {
		this.evaluateId = evaluateId;
	}
	
	@ExcelField(title="退货标识", dictType="", align=2, sort=15)
	public String getReturnFlag() {
		return returnFlag;
	}

	public void setReturnFlag(String returnFlag) {
		this.returnFlag = returnFlag;
	}
	
	@ExcelField(title="退货物流编号", align=2, sort=16)
	public String getReturnTrackingNum() {
		return returnTrackingNum;
	}

	public void setReturnTrackingNum(String returnTrackingNum) {
		this.returnTrackingNum = returnTrackingNum;
	}
	
	@ExcelField(title="退货物流公司", dictType="", align=2, sort=17)
	public String getReturnTrackingCompany() {
		return returnTrackingCompany;
	}

	public void setReturnTrackingCompany(String returnTrackingCompany) {
		this.returnTrackingCompany = returnTrackingCompany;
	}
	
	@ExcelField(title="收货标识", dictType="", align=2, sort=18)
	public String getReceiptFlag() {
		return receiptFlag;
	}

	public void setReceiptFlag(String receiptFlag) {
		this.receiptFlag = receiptFlag;
	}
	
	@ExcelField(title="是否积分兑换标识", dictType="", align=2, sort=19)
	public String getExchangeFlag() {
		return exchangeFlag;
	}

	public void setExchangeFlag(String exchangeFlag) {
		this.exchangeFlag = exchangeFlag;
	}
	
	@ExcelField(title="预留字段1", align=2, sort=26)
	public String getVdef1() {
		return vdef1;
	}

	public void setVdef1(String vdef1) {
		this.vdef1 = vdef1;
	}
	
	@ExcelField(title="预留字段2", align=2, sort=27)
	public String getVdef2() {
		return vdef2;
	}

	public void setVdef2(String vdef2) {
		this.vdef2 = vdef2;
	}
	
	@ExcelField(title="预留字段3", align=2, sort=28)
	public String getVdef3() {
		return vdef3;
	}

	public void setVdef3(String vdef3) {
		this.vdef3 = vdef3;
	}
	
	@ExcelField(title="预留字段4", align=2, sort=29)
	public String getVdef4() {
		return vdef4;
	}

	public void setVdef4(String vdef4) {
		this.vdef4 = vdef4;
	}
	
	@ExcelField(title="预留字段5", align=2, sort=30)
	public String getVdef5() {
		return vdef5;
	}

	public void setVdef5(String vdef5) {
		this.vdef5 = vdef5;
	}
	
	@ExcelField(title="预留字段6", align=2, sort=31)
	public String getVdef6() {
		return vdef6;
	}

	public void setVdef6(String vdef6) {
		this.vdef6 = vdef6;
	}
	
	@ExcelField(title="预留字段7", align=2, sort=32)
	public String getVdef7() {
		return vdef7;
	}

	public void setVdef7(String vdef7) {
		this.vdef7 = vdef7;
	}
	
	@ExcelField(title="预留字段8", align=2, sort=33)
	public String getVdef8() {
		return vdef8;
	}

	public void setVdef8(String vdef8) {
		this.vdef8 = vdef8;
	}
	
	@ExcelField(title="预留字段9", align=2, sort=34)
	public String getVdef9() {
		return vdef9;
	}

	public void setVdef9(String vdef9) {
		this.vdef9 = vdef9;
	}
	
	@ExcelField(title="预留字段10", align=2, sort=35)
	public String getVdef10() {
		return vdef10;
	}

	public void setVdef10(String vdef10) {
		this.vdef10 = vdef10;
	}
	
	public List<AnnyOrderGoods> getAnnyOrderGoodsList() {
		return annyOrderGoodsList;
	}

	@Override
	public String toString() {
		return "AnnyOrder{" +
				"recAddId='" + recAddId + '\'' +
				", payFlag='" + payFlag + '\'' +
				", payType='" + payType + '\'' +
				", postType='" + postType + '\'' +
				", comments='" + comments + '\'' +
				", totalPrice='" + totalPrice + '\'' +
				", orderStatus='" + orderStatus + '\'' +
				", trackingNum='" + trackingNum + '\'' +
				", trackingCompany='" + trackingCompany + '\'' +
				", shopId='" + shopId + '\'' +
				", integral='" + integral + '\'' +
				", waitIntegral='" + waitIntegral + '\'' +
				", evaluateFlag='" + evaluateFlag + '\'' +
				", evaluateId='" + evaluateId + '\'' +
				", returnFlag='" + returnFlag + '\'' +
				", returnTrackingNum='" + returnTrackingNum + '\'' +
				", returnTrackingCompany='" + returnTrackingCompany + '\'' +
				", receiptFlag='" + receiptFlag + '\'' +
				", exchangeFlag='" + exchangeFlag + '\'' +
				", vdef1='" + vdef1 + '\'' +
				", vdef2='" + vdef2 + '\'' +
				", vdef3='" + vdef3 + '\'' +
				", vdef4='" + vdef4 + '\'' +
				", vdef5='" + vdef5 + '\'' +
				", vdef6='" + vdef6 + '\'' +
				", vdef7='" + vdef7 + '\'' +
				", vdef8='" + vdef8 + '\'' +
				", vdef9='" + vdef9 + '\'' +
				", vdef10='" + vdef10 + '\'' +
				", annyOrderGoodsList=" + annyOrderGoodsList +
				'}';
	}

	public void setAnnyOrderGoodsList(List<AnnyOrderGoods> annyOrderGoodsList) {
		this.annyOrderGoodsList = annyOrderGoodsList;
	}
}